package com.rock.code.system.index.service.impl;

import com.rock.code.system.index.service.IndexService;
import com.rock.code.system.module.domain.TbSysModule;
import com.rock.code.system.module.service.TbSysModuleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * The type Index service.
 *
 * @author kongqiang
 * @date 2017.04.01
 */
@Service
public class IndexServiceImpl implements IndexService {

    /**
     * The Tb sys menu service.
     */
    @Resource
    private TbSysModuleService tbSysModuleService ;


    @Override
    public List<TbSysModule> queryUserRoleModuleByParaMap(Map<String, Object> param) throws Exception{
        return tbSysModuleService.queryUserRoleModuleByParaMap(param);
    }

}